package cn.jbit.houserent.dao;

import java.util.List;

import cn.jbit.houserent.bean.User;

public interface UserDao {

	public void save(User user);

	public void delete(User user);
	
	public void update(User user);

	public User findById(java.lang.Integer id);

	public List<User> findByExample(User instance);

	public List<User> findUserByProperty(String propertyName, Object value);

	public List<User> findAll();

}